home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Help-files / PStoPS < prev    next >
Text File  |  1996-12-24  |  3KB  |  58 lines

  1. PStoPS rearranges pages from a PostScript file, creating a new PostScript file.
  2. The input file should follow the Adobe Document Structuring Conventions.
  3. PStoPS can be used to perform a large number of arbitrary rearrangements of
  4. documents, including arranging for printing 2-up, 4-up, booklets, reversing,
  5. selecting front or back sides of documents, scaling, etc.
  6. The PStoPS options are:
  7.  
  8.    pagespecs   -w width   -h height   -p paper   -d lwidth   -b
  9.  
  10. The pagespecs syntax is:
  11.  
  12.    pagespecs = [modulo:]specs
  13.    specs = spec[+specs][,specs]
  14.    spec = [-]pageno[L][R][U][@scale][(xoff,yoff)]
  15.  
  16. modulo is the number of pages in each block.  The value of modulo should be
  17. greater than 0; the default value is 1.  specs are the page specifications
  18. for the pages in each block.  The value of the pageno in each spec should be
  19. between 0 (for the first page in the block) and modulo-1 (for the last page
  20. in each block) inclusive.
  21.  
  22. The optional dimensions xoff and yoff shift the page by the specified amount.
  23. xoff and yoff are in PostScript's points, but may be followed by the units
  24. "cm" or "in" to convert to centimetres or inches, or the flag "w" or "h"
  25. to specify as a multiple of the width or height.
  26.  
  27. The optional parameters L, R, and U rotate the page left, right, or
  28. upside-down.
  29.  
  30. The optional scale parameter scales the page by the fraction specified.
  31. If the optional minus sign is specified, the page is relative to the end of
  32. the document, instead of the start.
  33.  
  34. If page specs are separated by "+" the pages will be merged into one page;
  35. if they are separated by "," they will be on separate pages.  If there is
  36. only one page specification, with pageno zero, the pageno may be omitted.
  37.  
  38. The shift, rotation, and scaling are performed in that order regardless
  39. of which order they appear on the command line.
  40.  
  41. The -w option gives the width which is used by the "w" dimension specifier,
  42. and the -h option gives the height which is used by the "h" specifier.
  43. These dimensions are also used (after scaling) to set the clipping path
  44. for each page.  The -p option can be used as an alternative, to set the
  45. paper size to a3, a4, a5, b5, letter, legal, tabloid, statement, executive,
  46. folio, quarto or 10x14.  The default paper size is a4.
  47.  
  48. The -d option draws a line around the border of each page, of the specified
  49. width.  If the lwidth parameter is omitted, a default linewidth of 1 point is
  50. assumed.  The linewidth is relative to the original page dimensions,
  51. i.e. it is scaled up or down with the rest of the page.
  52.  
  53. The -b option prevents any bind operators in the PostScript prolog from
  54. binding.  This may be needed in cases where complex multi-page rearrangements
  55. are being done.
  56.  
  57. Copyright (C) Angus J. C. Duggan 1991-1995 (angus@harlequin.co.uk)
  58.